package com.AAA.entity.sds;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@Table(name = "t_sds_record")
@Data
@NoArgsConstructor
@AllArgsConstructor
//@ApiModel(value = "TSdsRecord)", description = "")
public class TSdsRecord implements Serializable {
private static final long serialVersionUID = 326781477906166873L;
@Id
@Column(name = "id")
@GeneratedValue(generator = "JDBC",strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name = "username")
//@ApiModelProperty(value = "${column.comment}")
 private String username;

@Column(name = "tel")
//@ApiModelProperty(value = "手机号")
 private String tel;

@Column(name = "yqcode")
//@ApiModelProperty(value = "邀请码")
 private String yqcode;

@Column(name = "createtime")
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "创建时间")
 private Date createtime;

 // 选项答案
 @Transient
 private TSds tSds = new TSds();

}